C/Stars/Descending/Left Align/REVSTARS.C
//Reverse order of stars
#include<stdio.h>
#include<conio.h>
int main()
{
int i,j,n;
printf("Enter max stars in a line: ");
scanf("%d",&n);
for(i=n;i>=1;i--)
{
for(j=1;j<=i;j++)
{
printf("* ");
}
printf("\n");
}
getch();
return 0;
}